package com.quanyan.authority.model.request;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * Created by Administrator on 2016/8/1.
 */
public class ReqBusiness extends ReqBaseParam {

    @NotNull(message = "systemId不能为空")
    private Integer systemId;

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Map<String,Object> toMap(){
        Map<String,Object> map = super.toMap();
        if(systemId != null)
            map.put("systemId",systemId);
        return map;
    }

    @Override
    public String toString() {
        return "ReqBusiness{" +
                "systemId=" + systemId +
                '}';
    }
}
